package cn.lzd.mvp.main.sample;

import cn.lzd.mvp.base.struct.BaseModel;
import cn.lzd.mvp.base.struct.IPresenter;
import io.reactivex.Observable;

public class SampleModel extends BaseModel<IPresenter, SampleServices> {
    public SampleModel(IPresenter mPresenter) {
        super(mPresenter);
    }

    public Observable<SampleBeans.WeatherData> getWeather() {
        return obtainService().getWeather(
                        113.17,
                        23.09,
                        "astro",
                        "json"
                );
    }
}
